.class public Lcom/waiqin365/lightwork/tracker/d;
.super Landroid/support/v4/app/Fragment;

# interfaces
.implements Landroid/view/View$OnClickListener;


# static fields
.field public static c:I


# instance fields
.field private A:Landroid/os/Handler;

.field private B:Lcom/waiqin365/lightwork/tracker/model/x;

.field private C:Ljava/util/ArrayList;

.field private D:Landroid/widget/LinearLayout;

.field private E:Landroid/view/View;

.field private F:Lcom/waiqin365/lightapp/view/NoNetView;

.field private G:Z

.field public a:Lcom/waiqin365/lightwork/tracker/model/u;

.field public b:I

.field public d:I

.field public e:Landroid/view/View;

.field f:Z

.field public g:J

.field public h:Lcom/waiqin365/lightwork/tracker/l;

.field public i:Landroid/widget/RelativeLayout;

.field public j:Ljava/util/ArrayList;

.field private k:Landroid/view/View;

.field private l:Landroid/widget/ListView;

.field private m:Landroid/widget/TextView;

.field private n:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

.field private o:Ljava/util/ArrayList;

.field private p:Landroid/widget/TextView;

.field private q:Landroid/widget/TextView;

.field private r:Landroid/widget/ImageView;

.field private s:Landroid/widget/PopupWindow;

.field private t:Landroid/view/View;

.field private u:Landroid/widget/TextView;

.field private v:Landroid/widget/TextView;

.field private w:Landroid/widget/TextView;

.field private x:Landroid/widget/TextView;

.field private y:Z

.field private z:Lcom/waiqin365/compons/view/a;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    const/16 v0, 0x12c

    sput v0, Lcom/waiqin365/lightwork/tracker/d;->c:I

    return-void
.end method

.method public constructor <init>()V
    .locals 3

    const/4 v2, 0x1

    const/4 v0, 0x0

    invoke-direct {p0}, Landroid/support/v4/app/Fragment;-><init>()V

    iput-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/d;->y:Z

    iput v2, p0, Lcom/waiqin365/lightwork/tracker/d;->b:I

    iput v0, p0, Lcom/waiqin365/lightwork/tracker/d;->d:I

    iput-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/d;->f:Z

    const-wide/16 v0, 0x0

    iput-wide v0, p0, Lcom/waiqin365/lightwork/tracker/d;->g:J

    iput-boolean v2, p0, Lcom/waiqin365/lightwork/tracker/d;->G:Z

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/d;)Landroid/widget/ListView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->l:Landroid/widget/ListView;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/d;Lcom/waiqin365/lightwork/tracker/model/t;Z)V
    .locals 0

    invoke-direct {p0, p1, p2}, Lcom/waiqin365/lightwork/tracker/d;->a(Lcom/waiqin365/lightwork/tracker/model/t;Z)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/d;Ljava/util/ArrayList;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightwork/tracker/d;->a(Ljava/util/ArrayList;)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightwork/tracker/d;Z)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightwork/tracker/d;->a(Z)V

    return-void
.end method

.method private a(Lcom/waiqin365/lightwork/tracker/model/t;)V
    .locals 4

    const/4 v1, 0x0

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    iget-object v2, v0, Lcom/fiberhome/gaea/client/base/ExmobiApp;->g:Ljava/util/ArrayList;

    if-eqz v2, :cond_0

    move v0, v1

    :goto_0
    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v3

    if-ge v0, v3, :cond_0

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v3

    instance-of v3, v3, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;

    if-eqz v3, :cond_2

    invoke-virtual {v2, v0}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;

    if-eqz v0, :cond_0

    const-string/jumbo v2, "2"

    iget-object v3, p1, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a(Z)V

    :cond_0
    :goto_1
    return-void

    :cond_1
    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/TrackerMainActivity;->a(Z)V

    goto :goto_1

    :cond_2
    add-int/lit8 v0, v0, 0x1

    goto :goto_0
.end method

.method private a(Lcom/waiqin365/lightwork/tracker/model/t;Z)V
    .locals 3

    new-instance v0, Landroid/content/Intent;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    const-class v2, Lcom/waiqin365/lightwork/tracker/TrackerMapActivity;

    invoke-direct {v0, v1, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    if-eqz p1, :cond_0

    if-eqz p2, :cond_1

    const-string/jumbo v1, "isSingle"

    const/4 v2, 0x1

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    :goto_0
    const-string/jumbo v1, "phonenum"

    iget-object v2, p1, Lcom/waiqin365/lightwork/tracker/model/t;->f:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "userid"

    iget-object v2, p1, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const-string/jumbo v1, "username"

    iget-object v2, p1, Lcom/waiqin365/lightwork/tracker/model/t;->b:Ljava/lang/String;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :cond_0
    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/d;->startActivity(Landroid/content/Intent;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    const v1, 0x7f040022

    const v2, 0x7f040021

    invoke-virtual {v0, v1, v2}, Landroid/support/v4/app/FragmentActivity;->overridePendingTransition(II)V

    return-void

    :cond_1
    const-string/jumbo v1, "isSingle"

    iget-boolean v2, p0, Lcom/waiqin365/lightwork/tracker/d;->G:Z

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    goto :goto_0
.end method

.method private a(Ljava/util/ArrayList;)V
    .locals 6

    invoke-direct {p0, p1}, Lcom/waiqin365/lightwork/tracker/d;->b(Ljava/util/ArrayList;)Ljava/util/ArrayList;

    move-result-object v2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->C:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->clear()V

    const/4 v0, 0x0

    move v1, v0

    :goto_0
    invoke-virtual {v2}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_2

    invoke-virtual {v2, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v4

    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v5

    invoke-virtual {v5}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v5

    invoke-virtual {v4, v5}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/x;->a()Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v3

    invoke-virtual {v3, v0}, Lcom/waiqin365/lightwork/tracker/model/x;->a(Lcom/waiqin365/lightwork/tracker/model/t;)V

    invoke-direct {p0, v0}, Lcom/waiqin365/lightwork/tracker/d;->a(Lcom/waiqin365/lightwork/tracker/model/t;)V

    :goto_1
    const-string/jumbo v3, "2"

    iget-object v4, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v3, v4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_0

    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/d;->C:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    :cond_0
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_1
    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v3, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_1

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->B:Lcom/waiqin365/lightwork/tracker/model/x;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/x;->e()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->B:Lcom/waiqin365/lightwork/tracker/model/x;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->C:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/x;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->B:Lcom/waiqin365/lightwork/tracker/model/x;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/x;->b()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->B:Lcom/waiqin365/lightwork/tracker/model/x;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/x;->b(Ljava/util/List;)V

    return-void
.end method

.method private a(Z)V
    .locals 12

    const/high16 v2, 0x43340000    # 180.0f

    const/4 v1, 0x0

    const/high16 v4, 0x3f000000    # 0.5f

    const/4 v3, 0x1

    if-eqz p1, :cond_0

    new-instance v0, Landroid/view/animation/RotateAnimation;

    move v5, v3

    move v6, v4

    invoke-direct/range {v0 .. v6}, Landroid/view/animation/RotateAnimation;-><init>(FFIFIF)V

    :goto_0
    const-wide/16 v4, 0xc8

    invoke-virtual {v0, v4, v5}, Landroid/view/animation/RotateAnimation;->setDuration(J)V

    invoke-virtual {v0, v3}, Landroid/view/animation/RotateAnimation;->setFillAfter(Z)V

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->r:Landroid/widget/ImageView;

    invoke-virtual {v1, v0}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V

    iput-boolean p1, p0, Lcom/waiqin365/lightwork/tracker/d;->y:Z

    return-void

    :cond_0
    new-instance v5, Landroid/view/animation/RotateAnimation;

    move v6, v2

    move v7, v1

    move v8, v3

    move v9, v4

    move v10, v3

    move v11, v4

    invoke-direct/range {v5 .. v11}, Landroid/view/animation/RotateAnimation;-><init>(FFIFIF)V

    move-object v0, v5

    goto :goto_0
.end method

.method private b(Ljava/util/ArrayList;)Ljava/util/ArrayList;
    .locals 5

    const/4 v2, 0x0

    move v1, v2

    :goto_0
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-ge v1, v0, :cond_1

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    iget-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->c:Ljava/lang/String;

    const-string/jumbo v0, ""

    if-eqz v3, :cond_2

    invoke-virtual {v3}, Ljava/lang/String;->length()I

    move-result v4

    if-lez v4, :cond_2

    const/4 v0, 0x1

    invoke-virtual {v3, v2, v0}, Ljava/lang/String;->substring(II)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v0

    move-object v3, v0

    :goto_1
    const-string/jumbo v0, "[A-Z]"

    invoke-virtual {v3, v0}, Ljava/lang/String;->matches(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    invoke-virtual {v3}, Ljava/lang/String;->toUpperCase()Ljava/lang/String;

    move-result-object v3

    iput-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->l:Ljava/lang/String;

    :goto_2
    add-int/lit8 v0, v1, 0x1

    move v1, v0

    goto :goto_0

    :cond_0
    invoke-virtual {p1, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    const-string/jumbo v3, "#"

    iput-object v3, v0, Lcom/waiqin365/lightwork/tracker/model/t;->l:Ljava/lang/String;

    goto :goto_2

    :cond_1
    return-object p1

    :cond_2
    move-object v3, v0

    goto :goto_1
.end method

.method static synthetic b(Lcom/waiqin365/lightwork/tracker/d;)Z
    .locals 1

    iget-boolean v0, p0, Lcom/waiqin365/lightwork/tracker/d;->y:Z

    return v0
.end method

.method static synthetic b(Lcom/waiqin365/lightwork/tracker/d;Z)Z
    .locals 0

    iput-boolean p1, p0, Lcom/waiqin365/lightwork/tracker/d;->G:Z

    return p1
.end method

.method private c()V
    .locals 5

    const/4 v4, 0x1

    const/4 v3, -0x2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bbb

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->e:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bc0

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->p:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bc2

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->q:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bc1

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->r:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->p:Landroid/widget/TextView;

    const v1, 0x7f0802dd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->p:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bbc

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->m:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bbd

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->n:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->n:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->m:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setTextView(Landroid/widget/TextView;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->n:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    const/16 v1, 0xc

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setTextSize(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->n:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/e;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/e;-><init>(Lcom/waiqin365/lightwork/tracker/d;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setOnTouchingLetterChangedListener(Lcom/waiqin365/lightapp/kehu/share/view/d;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/FragmentActivity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030272

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->t:Landroid/view/View;

    new-instance v0, Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->t:Landroid/view/View;

    invoke-direct {v0, v1, v3, v3, v4}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;IIZ)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>()V

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v4}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->t:Landroid/view/View;

    const v1, 0x7f0c0c05

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->u:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->t:Landroid/view/View;

    const v1, 0x7f0c0c06

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->v:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->t:Landroid/view/View;

    const v1, 0x7f0c0c07

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->w:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->t:Landroid/view/View;

    const v1, 0x7f0c0c08

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->x:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->u:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->v:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->w:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->x:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/f;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/f;-><init>(Lcom/waiqin365/lightwork/tracker/d;)V

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setOnDismissListener(Landroid/widget/PopupWindow$OnDismissListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c00cb

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->F:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->F:Lcom/waiqin365/lightapp/view/NoNetView;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/g;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/g;-><init>(Lcom/waiqin365/lightwork/tracker/d;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/NoNetView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bbf

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->D:Landroid/widget/LinearLayout;

    return-void
.end method

.method static synthetic c(Lcom/waiqin365/lightwork/tracker/d;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/d;->h()V

    return-void
.end method

.method static synthetic d(Lcom/waiqin365/lightwork/tracker/d;)Landroid/os/Handler;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->A:Landroid/os/Handler;

    return-object v0
.end method

.method private d()V
    .locals 7

    const/4 v6, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->q:Landroid/widget/TextView;

    const v1, 0x7f08062a

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v1

    new-array v2, v6, [Ljava/lang/Object;

    const/4 v3, 0x0

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v5, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v5

    add-int/lit8 v5, v5, 0x1

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v4

    const-string/jumbo v5, ""

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->n:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/x;->a()Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v1, v2, v6}, Lcom/waiqin365/lightwork/tracker/model/x;->a(Ljava/util/ArrayList;Z)[Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/share/view/SideBar;->setFilter([Ljava/lang/String;)V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/lightwork/tracker/d;)Landroid/view/View;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    return-object v0
.end method

.method private e()V
    .locals 3

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0ba3

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->l:Landroid/widget/ListView;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->a()V

    new-instance v0, Lcom/waiqin365/lightwork/tracker/model/u;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-direct {v0, v1, v2}, Lcom/waiqin365/lightwork/tracker/model/u;-><init>(Landroid/content/Context;Ljava/util/ArrayList;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->a:Lcom/waiqin365/lightwork/tracker/model/u;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->a:Lcom/waiqin365/lightwork/tracker/model/u;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightwork/tracker/model/u;->c(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->l:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->a:Lcom/waiqin365/lightwork/tracker/model/u;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->l:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/h;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/h;-><init>(Lcom/waiqin365/lightwork/tracker/d;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->l:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/i;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightwork/tracker/i;-><init>(Lcom/waiqin365/lightwork/tracker/d;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnScrollListener(Landroid/widget/AbsListView$OnScrollListener;)V

    return-void
.end method

.method private f()V
    .locals 8

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iget-wide v2, p0, Lcom/waiqin365/lightwork/tracker/d;->g:J

    sub-long/2addr v0, v2

    const-wide/32 v2, 0x493e0

    cmp-long v0, v0, v2

    if-lez v0, :cond_0

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v0

    iput-wide v0, p0, Lcom/waiqin365/lightwork/tracker/d;->g:J

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/d;->h()V

    new-instance v1, Ljava/util/HashMap;

    invoke-direct {v1}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v2, "qdate"

    new-instance v3, Ljava/text/SimpleDateFormat;

    const-string/jumbo v4, "yyyy-MM-dd"

    sget-object v5, Ljava/util/Locale;->ENGLISH:Ljava/util/Locale;

    invoke-direct {v3, v4, v5}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;Ljava/util/Locale;)V

    new-instance v4, Ljava/util/Date;

    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v6

    invoke-direct {v4, v6, v7}, Ljava/util/Date;-><init>(J)V

    invoke-virtual {v3, v4}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/b/c;

    invoke-direct {v1, v0}, Lcom/waiqin365/lightwork/tracker/b/c;-><init>(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightwork/tracker/b/i;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/d;->A:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightwork/tracker/b/i;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightwork/tracker/b/j;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/b/i;->start()V

    :cond_0
    return-void
.end method

.method static synthetic f(Lcom/waiqin365/lightwork/tracker/d;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/d;->i()V

    return-void
.end method

.method static synthetic g(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->F:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method private g()V
    .locals 1

    new-instance v0, Lcom/waiqin365/lightwork/tracker/k;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightwork/tracker/k;-><init>(Lcom/waiqin365/lightwork/tracker/d;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->A:Landroid/os/Handler;

    return-void
.end method

.method static synthetic h(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightwork/tracker/model/x;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->B:Lcom/waiqin365/lightwork/tracker/model/x;

    return-object v0
.end method

.method private h()V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->z:Lcom/waiqin365/compons/view/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/a;

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->z:Lcom/waiqin365/compons/view/a;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->z:Lcom/waiqin365/compons/view/a;

    const-string/jumbo v1, ""

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->z:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->z:Lcom/waiqin365/compons/view/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/compons/view/a;->a(Z)V

    :cond_1
    return-void
.end method

.method private i()V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->z:Lcom/waiqin365/compons/view/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->z:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->z:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V

    :cond_0
    return-void
.end method

.method static synthetic i(Lcom/waiqin365/lightwork/tracker/d;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/d;->d()V

    return-void
.end method

.method static synthetic j(Lcom/waiqin365/lightwork/tracker/d;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/d;->e()V

    return-void
.end method

.method static synthetic k(Lcom/waiqin365/lightwork/tracker/d;)Lcom/waiqin365/lightapp/kehu/share/view/SideBar;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->n:Lcom/waiqin365/lightapp/kehu/share/view/SideBar;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightwork/tracker/d;)Landroid/widget/LinearLayout;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->D:Landroid/widget/LinearLayout;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 14

    const v13, 0x7f0804f3

    const/16 v12, 0x8

    const/4 v11, 0x0

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/x;->a()Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/x;->c()Lcom/waiqin365/lightwork/tracker/model/t;

    move-result-object v7

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v0

    invoke-static {v0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030267

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v1, 0x7f0c04e9

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    new-instance v1, Lcom/waiqin365/lightwork/tracker/j;

    invoke-direct {v1, p0, v7}, Lcom/waiqin365/lightwork/tracker/j;-><init>(Lcom/waiqin365/lightwork/tracker/d;Lcom/waiqin365/lightwork/tracker/model/t;)V

    invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v1, 0x7f0c0bae

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v8

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v1, 0x7f0c0bb1

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/CircleImageView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v2, 0x7f0c0bb4

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iget-object v2, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v3, 0x7f0c0bb2

    invoke-virtual {v2, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iget-object v3, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v4, 0x7f0c0bb5

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v3

    check-cast v3, Landroid/widget/TextView;

    iget-object v4, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v5, 0x7f0c0bb7

    invoke-virtual {v4, v5}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    iget-object v5, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v6, 0x7f0c0bb6

    invoke-virtual {v5, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/TextView;

    iget-object v6, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v9, 0x7f0c0bb3

    invoke-virtual {v6, v9}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iget-object v9, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    const v10, 0x7f0c0bb8

    invoke-virtual {v9, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v9

    invoke-virtual {v9, v12}, Landroid/view/View;->setVisibility(I)V

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v10, v7, Lcom/waiqin365/lightwork/tracker/model/t;->n:Ljava/lang/String;

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    const-string/jumbo v10, "km"

    invoke-virtual {v9, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v9

    invoke-virtual {v9}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v9

    invoke-virtual {v2, v9}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v9, v7, Lcom/waiqin365/lightwork/tracker/model/t;->a:Ljava/lang/String;

    invoke-virtual {v0, v9}, Lcom/waiqin365/base/login/mainview/CircleImageView;->setTag(Ljava/lang/Object;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v9

    iget-object v10, v7, Lcom/waiqin365/lightwork/tracker/model/t;->k:Ljava/lang/String;

    invoke-static {v9, v0, v10}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;Landroid/widget/ImageView;Ljava/lang/String;)V

    iget-object v0, v7, Lcom/waiqin365/lightwork/tracker/model/t;->b:Ljava/lang/String;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, v7, Lcom/waiqin365/lightwork/tracker/model/t;->d:Ljava/lang/String;

    invoke-virtual {v3, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string/jumbo v0, ""

    new-instance v0, Ljava/util/Date;

    invoke-direct {v0}, Ljava/util/Date;-><init>()V

    new-instance v1, Ljava/text/SimpleDateFormat;

    const-string/jumbo v3, "yyyy-MM-dd"

    invoke-direct {v1, v3}, Ljava/text/SimpleDateFormat;-><init>(Ljava/lang/String;)V

    invoke-virtual {v1, v0}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v0

    iget-object v3, v7, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    invoke-static {v3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v3

    if-nez v3, :cond_1

    iget-object v3, v7, Lcom/waiqin365/lightwork/tracker/model/t;->h:Ljava/lang/String;

    if-eqz v3, :cond_1

    iget-object v3, v7, Lcom/waiqin365/lightwork/tracker/model/t;->h:Ljava/lang/String;

    invoke-virtual {v3, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-eqz v0, :cond_1

    const-string/jumbo v0, "yyyy-MM-dd HH:mm"

    invoke-virtual {v1, v0}, Ljava/text/SimpleDateFormat;->applyPattern(Ljava/lang/String;)V

    const-string/jumbo v0, ""

    :try_start_0
    iget-object v3, v7, Lcom/waiqin365/lightwork/tracker/model/t;->h:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/text/SimpleDateFormat;->parse(Ljava/lang/String;)Ljava/util/Date;

    move-result-object v3

    const-string/jumbo v9, "HH:mm"

    invoke-virtual {v1, v9}, Ljava/text/SimpleDateFormat;->applyPattern(Ljava/lang/String;)V

    new-instance v9, Ljava/lang/StringBuilder;

    invoke-direct {v9}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v3}, Ljava/text/SimpleDateFormat;->format(Ljava/util/Date;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v9, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v3, " "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
    :try_end_0
    .catch Ljava/text/ParseException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    :goto_0
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v13}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, v7, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    :goto_1
    invoke-virtual {p0, v13}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v3, "#808080"

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/dailyreport/util/a;->a(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)Landroid/text/SpannableStringBuilder;

    move-result-object v0

    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string/jumbo v0, "#666666"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v6, v0}, Landroid/widget/TextView;->setTextColor(I)V

    const-string/jumbo v0, "#2094e4"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setTextColor(I)V

    const-string/jumbo v0, "1"

    iget-object v1, v7, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-virtual {v4, v11}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v7, Lcom/waiqin365/lightwork/tracker/model/t;->p:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_2

    const-string/jumbo v0, "#808080"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v5, v11}, Landroid/widget/TextView;->setVisibility(I)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const v1, 0x7f0805b3

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\uff1a"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, v7, Lcom/waiqin365/lightwork/tracker/model/t;->p:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :cond_0
    :goto_2
    invoke-virtual {v8, v12}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->l:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    return-void

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Ljava/text/ParseException;->printStackTrace()V

    goto/16 :goto_0

    :cond_1
    const v0, 0x7f0804f4

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_1

    :cond_2
    invoke-virtual {v5, v12}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_2

    :cond_3
    const-string/jumbo v0, "2"

    iget-object v1, v7, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    const-string/jumbo v0, "#f04702"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setTextColor(I)V

    invoke-virtual {v5, v11}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, v7, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_4

    iget-object v0, v7, Lcom/waiqin365/lightwork/tracker/model/t;->j:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_5

    :cond_4
    invoke-virtual {v4, v12}, Landroid/widget/TextView;->setVisibility(I)V

    :goto_3
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const/high16 v1, 0x7f080000

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\uff1a"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, v7, Lcom/waiqin365/lightwork/tracker/model/t;->p:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_2

    :cond_5
    invoke-virtual {v4, v11}, Landroid/widget/TextView;->setVisibility(I)V

    goto :goto_3

    :cond_6
    const-string/jumbo v0, "3"

    iget-object v1, v7, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-virtual {v5, v11}, Landroid/widget/TextView;->setVisibility(I)V

    const-string/jumbo v0, "#B3B3B3"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setTextColor(I)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    const v1, 0x7f080599

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "\uff1a"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    iget-object v1, v7, Lcom/waiqin365/lightwork/tracker/model/t;->p:Ljava/lang/String;

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v5, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string/jumbo v0, "--"

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-string/jumbo v0, "#B3B3B3"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v6, v0}, Landroid/widget/TextView;->setTextColor(I)V

    const-string/jumbo v0, "#B3B3B3"

    invoke-static {v0}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v0

    invoke-virtual {v2, v0}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_2
.end method

.method public a(I)V
    .locals 11

    const v10, 0x7f0c04e9

    const v9, 0x7f08062a

    const/4 v3, 0x1

    const/4 v2, 0x0

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v1, 0x7f0b004d

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getColorStateList(I)Landroid/content/res/ColorStateList;

    move-result-object v4

    new-instance v5, Ljava/util/ArrayList;

    invoke-direct {v5}, Ljava/util/ArrayList;-><init>()V

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/x;->a()Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/x;->c()Lcom/waiqin365/lightwork/tracker/model/t;

    move-result-object v0

    if-nez p1, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v5, v0}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->u:Landroid/widget/TextView;

    const-string/jumbo v1, "#ff9008"

    invoke-static {v1}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->v:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->w:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->x:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->p:Landroid/widget/TextView;

    const v1, 0x7f0802dd

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    move v1, v3

    :goto_0
    if-eqz v1, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    if-eqz v0, :cond_a

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    invoke-virtual {v0, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    :cond_0
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->dismiss()V

    iget-object v4, p0, Lcom/waiqin365/lightwork/tracker/d;->q:Landroid/widget/TextView;

    if-eqz v1, :cond_b

    invoke-virtual {p0, v9}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v3, [Ljava/lang/Object;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v6

    add-int/lit8 v6, v6, 0x1

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v6, ""

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    :goto_2
    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->a:Lcom/waiqin365/lightwork/tracker/model/u;

    invoke-virtual {v0, v5}, Lcom/waiqin365/lightwork/tracker/model/u;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->a:Lcom/waiqin365/lightwork/tracker/model/u;

    invoke-virtual {v0}, Lcom/waiqin365/lightwork/tracker/model/u;->notifyDataSetChanged()V

    return-void

    :cond_1
    if-ne p1, v3, :cond_4

    const-string/jumbo v1, "1"

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_f

    move v1, v2

    :goto_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->p:Landroid/widget/TextView;

    const v6, 0x7f0805b3

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :cond_2
    :goto_4
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    const-string/jumbo v7, "1"

    iget-object v8, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v7, v8}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v7

    if-eqz v7, :cond_2

    invoke-virtual {v5, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_4

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->u:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->v:Landroid/widget/TextView;

    const-string/jumbo v6, "#ff9008"

    invoke-static {v6}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->w:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->x:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    goto/16 :goto_0

    :cond_4
    const/4 v1, 0x2

    if-ne p1, v1, :cond_7

    const-string/jumbo v1, "2"

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_e

    move v1, v2

    :goto_5
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->p:Landroid/widget/TextView;

    const/high16 v6, 0x7f080000

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :cond_5
    :goto_6
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    const-string/jumbo v7, "2"

    iget-object v8, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v7, v8}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v7

    if-eqz v7, :cond_5

    invoke-virtual {v5, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_6

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->u:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->v:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->w:Landroid/widget/TextView;

    const-string/jumbo v6, "#ff9008"

    invoke-static {v6}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setTextColor(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->x:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    goto/16 :goto_0

    :cond_7
    const/4 v1, 0x3

    if-ne p1, v1, :cond_d

    const-string/jumbo v1, "3"

    iget-object v0, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_c

    move v1, v2

    :goto_7
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->p:Landroid/widget/TextView;

    const v6, 0x7f080599

    invoke-virtual {p0, v6}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v6

    invoke-virtual {v0, v6}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;

    move-result-object v6

    :cond_8
    :goto_8
    invoke-interface {v6}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_9

    invoke-interface {v6}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightwork/tracker/model/t;

    const-string/jumbo v7, "3"

    iget-object v8, v0, Lcom/waiqin365/lightwork/tracker/model/t;->o:Ljava/lang/String;

    invoke-virtual {v7, v8}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z

    move-result v7

    if-eqz v7, :cond_8

    invoke-virtual {v5, v0}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

    goto :goto_8

    :cond_9
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->u:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->v:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->w:Landroid/widget/TextView;

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(Landroid/content/res/ColorStateList;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->x:Landroid/widget/TextView;

    const-string/jumbo v4, "#ff9008"

    invoke-static {v4}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v4

    invoke-virtual {v0, v4}, Landroid/widget/TextView;->setTextColor(I)V

    goto/16 :goto_0

    :cond_a
    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->E:Landroid/view/View;

    invoke-virtual {v0, v10}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v4, 0x8

    invoke-virtual {v0, v4}, Landroid/view/View;->setVisibility(I)V

    goto/16 :goto_1

    :cond_b
    invoke-virtual {p0, v9}, Lcom/waiqin365/lightwork/tracker/d;->getString(I)Ljava/lang/String;

    move-result-object v0

    new-array v1, v3, [Ljava/lang/Object;

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-direct {v3}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v5}, Ljava/util/ArrayList;->size()I

    move-result v6

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v3

    const-string/jumbo v6, ""

    invoke-virtual {v3, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_2

    :cond_c
    move v1, v3

    goto/16 :goto_7

    :cond_d
    move v1, v3

    goto/16 :goto_0

    :cond_e
    move v1, v3

    goto/16 :goto_5

    :cond_f
    move v1, v3

    goto/16 :goto_3
.end method

.method public a(Lcom/waiqin365/lightwork/tracker/l;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightwork/tracker/d;->h:Lcom/waiqin365/lightwork/tracker/l;

    return-void
.end method

.method public b()V
    .locals 3

    const/4 v2, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v2}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/lightwork/tracker/d;->p:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->s:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v2}, Landroid/widget/PopupWindow;->setFocusable(Z)V

    :cond_0
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 3

    const/4 v2, 0x1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    const/4 v0, 0x0

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/d;->a(I)V

    goto :goto_0

    :sswitch_1
    invoke-virtual {p0, v2}, Lcom/waiqin365/lightwork/tracker/d;->a(I)V

    goto :goto_0

    :sswitch_2
    const/4 v0, 0x2

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/d;->a(I)V

    goto :goto_0

    :sswitch_3
    const/4 v0, 0x3

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightwork/tracker/d;->a(I)V

    goto :goto_0

    :sswitch_4
    invoke-direct {p0, v2}, Lcom/waiqin365/lightwork/tracker/d;->a(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->b()V

    goto :goto_0

    :sswitch_5
    invoke-static {}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->b()Lcom/fiberhome/gaea/client/base/ExmobiApp;

    move-result-object v0

    invoke-virtual {v0}, Lcom/fiberhome/gaea/client/base/ExmobiApp;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    const-string/jumbo v1, "tracker_filter"

    invoke-static {v0, v1}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    invoke-direct {p0, v2}, Lcom/waiqin365/lightwork/tracker/d;->a(Z)V

    invoke-virtual {p0}, Lcom/waiqin365/lightwork/tracker/d;->b()V

    goto :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0bb0 -> :sswitch_4
        0x7f0c0bc0 -> :sswitch_5
        0x7f0c0c05 -> :sswitch_0
        0x7f0c0c06 -> :sswitch_1
        0x7f0c0c07 -> :sswitch_2
        0x7f0c0c08 -> :sswitch_3
    .end sparse-switch
.end method

.method public onCreateView(Landroid/view/LayoutInflater;Landroid/view/ViewGroup;Landroid/os/Bundle;)Landroid/view/View;
    .locals 2

    const v0, 0x7f030268

    const/4 v1, 0x0

    invoke-virtual {p1, v0, v1}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/d;->c()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bb9

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    const v1, 0x7f0c0bba

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout;

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->i:Landroid/widget/RelativeLayout;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->o:Ljava/util/ArrayList;

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/x;->a()Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v1

    invoke-virtual {v1}, Lcom/waiqin365/lightwork/tracker/model/x;->g()Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->C:Ljava/util/ArrayList;

    invoke-static {}, Lcom/waiqin365/lightwork/tracker/model/x;->a()Lcom/waiqin365/lightwork/tracker/model/x;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->B:Lcom/waiqin365/lightwork/tracker/model/x;

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/d;->g()V

    invoke-direct {p0}, Lcom/waiqin365/lightwork/tracker/d;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightwork/tracker/d;->k:Landroid/view/View;

    return-object v0
.end method
